home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / m29.dir / 00001_script movie.ls next >
Encoding:
Text File  |  1996-09-06  |  738 b   |  28 lines

  1. on startMovie
  2.   global gReferenceArticle, gOnIBM
  3.   identifyPlatform()
  4. end
  5.  
  6. on showArticle
  7.   global gReferenceArticle, gOnIBM
  8.   if gOnIBM then
  9.     set mypath to the pathName & "rlibrary\" & gReferenceArticle
  10.     set the textFont of field "article" to "Arial"
  11.     set the textSize of field "article" to 12
  12.   else
  13.     set mypath to the pathName & "rlibrary:" & gReferenceArticle
  14.     set the textFont of field "article" to "Geneva"
  15.     set the textSize of field "article" to 12
  16.   end if
  17.   set gReadFile to FileIO(mnew, "read", mypath)
  18.   if not objectp(gReadFile) then
  19.     exit
  20.   end if
  21.   set myData to gReadFile(mReadFile)
  22.   gReadFile(mdispose)
  23.   put myData into field "article"
  24.   pupSprites(1, 48, 0)
  25.   updateStage()
  26.   go("ShowArticle")
  27. end
  28.